package sm.dam;

public class OracleDDLAdaptor extends AbstractDDLAdaptor {

	@Override
	public String getRecordNumberType() {
		return "NUMBER(*,0)";
	}

	@Override
	public String getRecordKeyType() {
		return "NUMBER(*,0)";
	}

	@Override
	public String toSqlEntityName(String entityName) {
		return "\"" + entityName + "\"";
	}

	@Override
	public String generateModifyColumn(String tableName, String columnName,
			String dataType) {
		return "ALTER TABLE " + tableName + " MODIFY "
				+ toSqlEntityName(columnName) + " " + dataType;
	}

}
